package com.dengc;

import java.awt.*;

public class Rock extends Object{
    Rock(){
        this.x = (int) (Math.random()*700);
        this.y = (int) (Math.random()*550+300);
        this.height = 71;
        this.width = 71;
        this.flag = false;
        this.m = 50;
        this.count = 1;
        this.type = 2;
        this.image = Toolkit.getDefaultToolkit().getImage("imgs/rock1.png");
    }
}

//class RockMini extends Gold{
//    RockMini(){
//        this.width = 71;
//        this.height = 71;
//        this.m = 15;
//        this.image = Toolkit.getDefaultToolkit().getImage("imgs/rock1.png");
//    }
//}

//class RockPlus extends Gold{
//    RockPlus(){
//        this.x = (int) (Math.random()*650);
//        this.width = 71;
//        this.height = 71;
//        this.m = 66;
//        this.image = Toolkit.getDefaultToolkit().getImage("imgs/rock1.png");
//    }
//}
